package me.yiyou.meihua.data.xinghuo

/**
 * 请求体模型
 */
data class XingHuoX1(
    val model: String,
    val user: String,
    val messages: List<XingHuoMessage>,
    val stream: Boolean = false,
    val max_tokens: Int,
    val tools: List<XingHuoTool>? = null
)

data class XingHuoMessage(
    val role: String,
    val content: String
)

data class XingHuoTool(
    val type: String,
    val web_search: XingHuoWebSearch?
)

data class XingHuoWebSearch(
    val enable: Boolean,
    val search_mode: String
)
